//
//  AfnHelper.h
//  afn
//
//  Created by 杨少锋 on 15/10/5.
//  Copyright © 2015年 杨少锋. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface AfnHelper : NSObject

// get请求
+ (void)getDataWithUrl:(NSString *)url dic:(NSDictionary *)dic sucess:(void(^)(id opreation))sucess  faile:(void(^)(id error))faile;

// post请求
+ (void)postDataWithUrl:(NSString *)url dic:(NSDictionary *)dic sucess:(void(^)(id opreation))sucess  faile:(void(^)(id error))faile;


@end
